<?phpclass UserSessionVisitEntityBase extends EntityBase{	public $id;	public $userId;	public $userSessionId;	public $name;	public $url;	public $ipAddress;	public $createdTime;	public $userAgent;		public function __construct($arrValue = null, $prefix = '')
	{
		if(!is_null($arrValue) && is_array($arrValue))
		{			$this->id = strval ($arrValue[$prefix . 'id']);			$this->userId = (int) ($arrValue[$prefix . 'userId']);			$this->userSessionId = strval ($arrValue[$prefix . 'userSessionId']);			$this->name = strval ($arrValue[$prefix . 'name']);			$this->url = strval ($arrValue[$prefix . 'url']);			$this->ipAddress = strval ($arrValue[$prefix . 'ipAddress']);			$this->createdTime = strval ($arrValue[$prefix . 'createdTime']);			$this->userAgent = strval ($arrValue[$prefix . 'userAgent']);		}
	}		/**	 * Get all fields for selecting columns	 *	 * @param string $alias: alias of table	 * @param string $prefix	 * @return string	 */	public static function getSelectColumns($alias, $prefix = '')	{		$arrValue = array(						"{$alias}.id AS `{$prefix}id`",						"{$alias}.userId AS `{$prefix}userId`",						"{$alias}.userSessionId AS `{$prefix}userSessionId`",						"{$alias}.name AS `{$prefix}name`",						"{$alias}.url AS `{$prefix}url`",						"{$alias}.ipAddress AS `{$prefix}ipAddress`",						"{$alias}.createdTime AS `{$prefix}createdTime`",						"{$alias}.userAgent AS `{$prefix}userAgent`"					);		return implode(',', $arrValue);	}}